#include <kfbxobject.h>

Definition at line 145 of file kfbxobject.h.
UpdateId Management |
|
| enum | eFbxUpdateIdType |
| Update ID type. More... |
|
| virtual kFbxUpdateId | GetUpdateId (eFbxUpdateIdType pUpdateId=eUpdateId_Object) const |
| Returns the update ID of this object.
|
|
Properties access |
|
| KFbxProperty | RootProperty |
| KFbxProperty | GetFirstProperty () const |
| Returns the first property of this object.
|
|
| KFbxProperty | GetNextProperty (KFbxProperty const &pProperty) const |
| Returns the next property of this object
that follows the specified property. |
|
| KFbxProperty | FindProperty (const char *pName, bool pCaseSensitive=true) const |
| Searches a property by name. |
|
| KFbxProperty | FindProperty (const char *pName, KFbxDataType const &pDataType, bool pCaseSensitive=true) const |
| Searches a property by name and data type.
|
|
| KFbxProperty | FindPropertyHierarchical (const char *pName, bool pCaseSensitive=true) const |
| Searches a property by full name. |
|
| KFbxProperty | FindPropertyHierarchical (const char *pName, KFbxDataType const &pDataType, bool pCaseSensitive=true) const |
| Searches a property by full name and data
type. |
|
| KFbxProperty & | GetRootProperty () |
| Returns the root property of this object.
|
|
| const KFbxProperty & | GetRootProperty () const |
| Returns the root property of this object.
|
|
| KFbxProperty | GetClassRootProperty () |
| Returns the class root property. |
|
Cloning and references |
|
| virtual KFbxObject * | Clone (KFbxObject *pContainer, KFbxObject::ECloneType pCloneType) const |
| Creates a clone of this object. |
|
| bool | IsAReferenceTo (void) const |
| Checks if this object is a reference clone
of another object. |
|
| KFbxObject * | GetReferenceTo (void) const |
| If this object is a reference clone, returns
the original object (from which the clone originates). |
|
| bool | IsReferencedBy (void) const |
| Checks if any objects are reference cloned
from this object. |
|
| int | GetReferencedByCount (void) const |
| Returns the number of objects that are
reference clones of this object. |
|
| KFbxObject * | GetReferencedBy (int pIndex) const |
| Returns a reference clone of this object at
the specified index. |
|
Object Name Management |
|
| void | SetName (char const *pName) |
| Sets the name of this object. |
|
| char const * | GetName () const |
| Returns the full name of this object.
|
|
| KString | GetNameWithoutNameSpacePrefix () const |
| Returns the name of the object without the
namespace qualifier. |
|
| KString | GetNameWithNameSpacePrefix () const |
| Returns the name of the object with the
namespace qualifier. |
|
| void | SetInitialName (char const *pName) |
| Sets the initial name of the object.
|
|
| char const * | GetInitialName () const |
| Returns the initial name of the object.
|
|
| KString | GetNameSpaceOnly () |
| Returns the namespace of the object.
|
|
| void | SetNameSpace (KString pNameSpace) |
| Sets the namespace of the object. |
|
| KArrayTemplate< KString * > | GetNameSpaceArray (char identifier) |
| Returns an array of all the namespaces for
this object. |
|
| KString | GetNameOnly () const |
| Returns only the name (no namespace or
prefix) of the object. |
|
| KString | GetNameSpacePrefix () const |
| Returns the namespace qualifier. |
|
| KFbxObjectID const & | GetUniqueID () const |
| Returns the unique ID of this object.
|
|
| static KString | RemovePrefix (char *pName) |
| Removes the prefix of pName. |
|
| static KString | StripPrefix (KString &lName) |
| Strips the prefix of pName. |
|
| static KString | StripPrefix (const char *pName) |
| Strips the prefix of pName. |
|
Off-loading Management |
|
|
|
| int | ContentUnload () |
| Unloads this object's content using the
offload peripheral that is currently set in the document then
flushes it from memory. |
|
| int | ContentLoad () |
| Loads this object's content using the
offload peripheral that is currently set in the document. |
|
| bool | ContentIsLoaded () const |
| Judges if this object's content is loaded.
|
|
| void | ContentDecrementLockCount () |
| Decreases the content lock count of an
object. |
|
| void | ContentIncrementLockCount () |
| Increases the content lock count of an
object. |
|
| bool | ContentIsLocked () const |
| Judges if this object's content is locked.
|
|
| virtual void | ContentClear () |
| Clears this object's content from memory.
|
|
| virtual KFbxPeripheral * | GetPeripheral () |
| Retrieves the peripheral of that object.
|
|
Off-loading Serialization section. |
|
| The methods in this section are usually called by a
peripheral. |
|
| virtual bool | ContentWriteTo (KFbxStream &pStream) const |
| Writes the content of the object to the
given stream. |
|
| virtual bool | ContentReadFrom (const KFbxStream &pStream) |
| Reads the content of the object from the
given stream. |
|
Selection management |
|
| virtual bool | GetSelected () |
| Returns if this object is currently in a
selected state. |
|
| virtual void | SetSelected (bool pSelected) |
| Sets whether this object is currently
selected. |
|
Evaluation Info |
|
| virtual bool | Evaluate (KFbxProperty &pProperty, KFbxEvaluationInfo const *pEvaluationInfo) |
| Evaluates the KFCurve value of
the specified property at the specified time, and then sets the
property value as the KFCurve value. |
|
General Object Connection and Relationship Management |
|
| bool | ConnectSrcObject (KFbxObject *pObject, kFbxConnectionType pType=eFbxConnectionNone) |
| Connects this object to a source object.
|
|
| bool | IsConnectedSrcObject (const KFbxObject *pObject) const |
| Judges whether this object connects with the
source object. |
|
| bool | DisconnectSrcObject (KFbxObject *pObject) |
| Disconnects this object from a source
object. |
|
| bool | DisconnectAllSrcObject () |
| Disconnects this object from all source
objects. |
|
| bool | DisconnectAllSrcObject (KFbxCriteria const &pCriteria) |
| Disconnects this object from all source
objects that satisfy a given criteria. |
|
| bool | DisconnectAllSrcObject (kFbxClassId pClassId) |
| Disconnects this object from all source
objects of a specific class type. |
|
| bool | DisconnectAllSrcObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria) |
| Disconnects this object from all source
objects that satisfy a given criteria and that are a specific class
type. |
|
| int | GetSrcObjectCount () const |
| Returns the number of source objects with
which this object connects. |
|
| int | GetSrcObjectCount (KFbxCriteria const &pCriteria) const |
| Returns the number of source objects that
satisfy the given criteria with which this object connects.
|
|
| int | GetSrcObjectCount (kFbxClassId pClassId) const |
| Returns the number of source objects of the
specific class type with which this object connects. |
|
| int | GetSrcObjectCount (kFbxClassId pClassId, KFbxCriteria const &pCriteria) const |
| Returns the number of source objects that
satisfy the given criteria and that are the specified class type.
|
|
| KFbxObject * | GetSrcObject (int pIndex=0) const |
| Returns the source object with which this
object connects at the specified index. |
|
| KFbxObject * | GetSrcObject (KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the source object that satisfies the
criteria at the specified index with which this object connects.
|
|
| KFbxObject * | GetSrcObject (kFbxClassId pClassId, int pIndex=0) const |
| Returns the source object of the specified
class type at the specified index with which this object connects.
|
|
| KFbxObject * | GetSrcObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the source object of the specified
class type that satisfies the given criteria at the specified
index. |
|
| KFbxObject * | FindSrcObject (const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name, starting at the specified index. |
|
| KFbxObject * | FindSrcObject (KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name which satisfies the given criteria, starting at the
specified index. |
|
| KFbxObject * | FindSrcObject (kFbxClassId pClassId, const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name which is also the specified class type, starting at
the specified index. |
|
| KFbxObject * | FindSrcObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name which is the specified class type and satisfies the
given criteria, starting at the specified index. |
|
| template<class T> | |
| bool | DisconnectAllSrcObject (T const *pFBX_TYPE) |
| Disconnects this object from all source
objects of the specified class type. |
|
| template<class T> | |
| bool | DisconnectAllSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) |
| Disconnects this object from all source
objects that are of the specified class type and that satisfy the
given criteria. |
|
| template<class T> | |
| int | GetSrcObjectCount (T const *pFBX_TYPE) const |
| Returns the number of source objects of a
specific class type with which this object connects. |
|
| template<class T> | |
| int | GetSrcObjectCount (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) const |
| Returns the number of source objects with
which this object connects that are the specified class type and
that satisfy the given criteria. |
|
| template<class T> | |
| T * | GetSrcObject (T const *pFBX_TYPE, int pIndex=0) const |
| Returns the source object of the specified
class type at the specified index. |
|
| template<class T> | |
| T * | GetSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the source object that is the
specified class type and that satisfies the given criteria at the
specified index. |
|
| template<class T> | |
| T * | FindSrcObject (T const *pFBX_TYPE, const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name that is the specified class type, starting at the
specified index. |
|
| template<class T> | |
| T * | FindSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the source object with the
specified name that is the specified class type and that satisfies
the given criteria, starting at the specified index. |
|
| bool | ConnectDstObject (KFbxObject *pObject, kFbxConnectionType pType=eFbxConnectionNone) |
| Connects this object to one destination
object. |
|
| bool | IsConnectedDstObject (const KFbxObject *pObject) const |
| Judges whether this object connects with the
destination object. |
|
| bool | DisconnectDstObject (KFbxObject *pObject) |
| Disconnects this object from the destination
object. |
|
| bool | DisconnectAllDstObject () |
| Disconnects this object from all destination
objects. |
|
| bool | DisconnectAllDstObject (KFbxCriteria const &pCriteria) |
| Disconnects this object from all destination
objects that satisfy given criteria. |
|
| bool | DisconnectAllDstObject (kFbxClassId pClassId) |
| Disconnects this object from all destination
objects of the specified class type. |
|
| bool | DisconnectAllDstObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria) |
| Disconnects this object from all the
destination objects that are the specified class type and that
satisfy the given criteria. |
|
| int | GetDstObjectCount () const |
| Returns the number of destination objects
with which this object connects. |
|
| int | GetDstObjectCount (KFbxCriteria const &pCriteria) const |
| Returns the number of destination objects
with which this object connects that satisfy the given criteria.
|
|
| int | GetDstObjectCount (kFbxClassId pClassId) const |
| Returns the number of destination objects of
the specified class type with which this object connects. |
|
| int | GetDstObjectCount (kFbxClassId pClassId, KFbxCriteria const &pCriteria) const |
| Returns the number of destination objects of
the specified class type with which this object connects that also
satisfy the given criteria . |
|
| KFbxObject * | GetDstObject (int pIndex=0) const |
| Returns the destination object at the
specified index with which this object connects. |
|
| KFbxObject * | GetDstObject (KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the destination object with which
this object connects that satisfies the given criteria at the
specified index. |
|
| KFbxObject * | GetDstObject (kFbxClassId pClassId, int pIndex=0) const |
| Returns the destination object of the
specified class type with which this object connects at the
specified index. |
|
| KFbxObject * | GetDstObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the destination object with which
this object connects that is of the specified class type and that
satisfies the given criteria at the specified index. |
|
| KFbxObject * | FindDstObject (const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name, starting at the specified index. |
|
| KFbxObject * | FindDstObject (KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name which satisfies the given criteria, starting at the
specified index. |
|
| KFbxObject * | FindDstObject (kFbxClassId pClassId, const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name which is the specified class type, starting at the
specified index. |
|
| KFbxObject * | FindDstObject (kFbxClassId pClassId, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name that is the specified class type and that satisfies
the given criteria, starting at the specified index. |
|
| template<class T> | |
| bool | DisconnectAllDstObject (T const *pFBX_TYPE) |
| Disconnects this object from all destination
objects of the specified class type. |
|
| template<class T> | |
| bool | DisconnectAllDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) |
| Disconnects this object from all destination
objects that are the specified class type and that satisfy the
given criteria. |
|
| template<class T> | |
| int | GetDstObjectCount (T const *pFBX_TYPE) const |
| Returns the number of destination objects of
the specified class type with which this object connects. |
|
| template<class T> | |
| int | GetDstObjectCount (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) const |
| Returns the number of destination objects
with which this object connects that are the specified class type
and that satisfy the given criteria. |
|
| template<class T> | |
| T * | GetDstObject (T const *pFBX_TYPE, int pIndex=0) const |
| Returns the destination object with which
this object connects that is the specified class type at the
specified index. |
|
| template<class T> | |
| T * | GetDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, int pIndex=0) const |
| Returns the destination object with which
this object connects that is the specified class type and that
satisfies the given criteria at the specified index. |
|
| template<class T> | |
| T * | FindDstObject (T const *pFBX_TYPE, const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name which is of the specified class type, starting at
the specified index. |
|
| template<class T> | |
| T * | FindDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
| Searches the destination object with the
specified name that is the specified class type and that satisfies
the given criteria, starting at the specified index. |
|
General Property Connection and Relationship Management |
|
| bool | ConnectSrcProperty (KFbxProperty const &pProperty) |
| Connects this object to a source property.
|
|
| bool | IsConnectedSrcProperty (KFbxProperty const &pProperty) |
| Judges whether this object connects with the
specified source property. |
|
| bool | DisconnectSrcProperty (KFbxProperty const &pProperty) |
| Disconnects this object from the specified
source property. |
|
| int | GetSrcPropertyCount () const |
| Returns the number of source properties with
which this object connects. |
|
| KFbxProperty | GetSrcProperty (int pIndex=0) const |
| Returns the source property at the specified
index with which this object connects. |
|
| KFbxProperty | FindSrcProperty (const char *pName, int pStartIndex=0) const |
| Searches a source property with which this
object connects that has a specific name, starting at the specified
index. |
|
| bool | ConnectDstProperty (KFbxProperty const &pProperty) |
| Connects this object to a destination
property. |
|
| bool | IsConnectedDstProperty (KFbxProperty const &pProperty) |
| Judges if this object connects with the
specified destination property. |
|
| bool | DisconnectDstProperty (KFbxProperty const &pProperty) |
| Disconnects this object from the specified
destination property. |
|
| int | GetDstPropertyCount () const |
| Returns the number of destination properties
with which this object connects. |
|
| KFbxProperty | GetDstProperty (int pIndex=0) const |
| Returns the destination property at the
specified index with which this object connects. |
|
| KFbxProperty | FindDstProperty (const char *pName, int pStartIndex=0) const |
| Searches a destination property with which
this object connects that has a specific name, starting at the
specified index. |
|
User data |
|
| void | SetUserDataPtr (KFbxObjectID const &pUserID, void *pUserData) |
| Sets the data pointer for an user data
record whose ID is pUserID. |
|
| void * | GetUserDataPtr (KFbxObjectID const &pUserID) const |
| Returns the data pointer of an user data
record whose ID is pUserID. |
|
| void | SetUserDataPtr (void *pUserData) |
| Sets the data pointer for the user data
record whose ID is the object ID. |
|
| void * | GetUserDataPtr () const |
| Returns the data pointer of the user data
record whose ID is the object ID. |
|
Document Management |
|
| KFbxDocument * | GetDocument () const |
| Returns a const pointer to the document that
contains this object. |
|
| KFbxDocument * | GetRootDocument () const |
| Returns a const pointer to the root document
that contains this object. |
|
| KFbxScene * | GetScene () const |
| Returns a const pointer to the scene that
contains this object. |
|
Logging. |
|
| void | EmitMessage (KFbxMessage *pMessage) const |
| Emits a message in all available message
emitters in the document or SDK manager. |
|
Localization helper. |
|
| virtual const char * | Localize (const char *pID, const char *pDefault=NULL) const |
| Localization helper function, it calls the
implementation of FBX SDK manager. |
|
Application Implementation Management |
|
| KFbxLibrary * | GetParentLibrary (void) const |
| Returns a handle on the parent library of
this object. |
|
| bool | AddImplementation (KFbxImplementation *pImplementation) |
| Adds an implementation. |
|
| bool | RemoveImplementation (KFbxImplementation *pImplementation) |
| Removes an implementation. |
|
| bool | HasDefaultImplementation (void) const |
| Judges if this shading node has a default
implementation. |
|
| KFbxImplementation * | GetDefaultImplementation (void) const |
| Returns the default implementation of this
shading node. |
|
| bool | SetDefaultImplementation (KFbxImplementation *pImplementation) |
| Sets the default implementation of this
shading node. |
|
| int | GetImplementationCount (const KFbxImplementationFilter *pCriteria=NULL) const |
| Returns the number of implementations that
satisfy a given criteria. |
|
| KFbxImplementation * | GetImplementation (int pIndex, const KFbxImplementationFilter *pCriteria=NULL) const |
| Returns the implementation at the specified
index that satisfies the given criteria. |
|
Object Storage && Retrieval |
|
| virtual KString | GetUrl () const |
| Returns the URL of this object. |
|
| virtual bool | SetUrl (char *pUrl) |
| Sets the URL of this object. |
|
| virtual bool | PopulateLoadSettings (KFbxObject *pSettings, char *pFileName=0) |
| Populates the load settings. |
|
| virtual bool | Load (char *pFileName=0) |
| Loads the object from a file. |
|
| virtual bool | PopulateSaveSettings (KFbxObject *pSettings, char *pFileName=0) |
| Populates the save settings. |
|
| virtual bool | Save (char *pFileName=0) |
| Saves this object in a file. |
|
Public Types |
|
| enum | ECloneType
{ eSURFACE_CLONE, eREFERENCE_CLONE, eDEEP_CLONE } |
| Types of clones that can be created for
KFbxObject.
More... |
|
| enum ECloneType |
Types of clones that can be created for KFbxObject.
Definition at line 151 of file kfbxobject.h.
| enum eFbxUpdateIdType |
| virtual KFbxObject* Clone | ( | KFbxObject * | pContainer, | |
| KFbxObject::ECloneType | pCloneType | |||
| ) | const [virtual] |
Creates a clone of this object.
| pContainer | The object, typically a document or a scene, that contains the new clone(can be NULL). | |
| pCloneType | The type of clone to be created. |
Reimplemented in KFbxControlSetPlug, KFbxIOSettings, KFbxGeometry, KFbxNodeAttribute, KFbxNurbsCurve, and KFbxProceduralGeometry.
| bool IsAReferenceTo | ( | void | ) | const |
Checks if this object is a reference clone of another object.
True if this object is a clone of another object,
false otherwise| KFbxObject* GetReferenceTo | ( | void | ) | const |
If this object is a reference clone, returns the original object (from which the clone originates).
| bool IsReferencedBy | ( | void | ) | const |
Checks if any objects are reference cloned from this object.
True if there are objects reference cloned from
this object, false otherwise.| int GetReferencedByCount | ( | void | ) | const |
Returns the number of objects that are reference clones of this object.
| KFbxObject* GetReferencedBy | ( | int | pIndex | ) | const |
Returns a reference clone of this object at the specified index.
| pIndex | The specified index, valid values are [0, GetReferencedByCount()) |
| void SetName | ( | char const * | pName | ) |
Sets the name of this object.
| pName | The object name as a NULL terminated string. |
| char const* GetName | ( | ) | const |
Returns the full name of this object.
NULL terminated string.Referenced by KFbxNameFilter::Match().
| KString GetNameWithoutNameSpacePrefix | ( | ) | const |
Returns the name of the object without the namespace qualifier.
| KString GetNameWithNameSpacePrefix | ( | ) | const |
Returns the name of the object with the namespace qualifier.
| void SetInitialName | ( | char const * | pName | ) |
Sets the initial name of the object.
| pName | The object's initial name as a NULL terminated
string. |
| char const* GetInitialName | ( | ) | const |
Returns the initial name of the object.
NULL terminated
string.| KString GetNameSpaceOnly | ( | ) |
Returns the namespace of the object.
NULL terminated
string.| void SetNameSpace | ( | KString | pNameSpace | ) |
Sets the namespace of the object.
| pNameSpace | The object's namespace as a NULL terminated
string. |
| KArrayTemplate<KString*> GetNameSpaceArray | ( | char | identifier | ) |
Returns an array of all the namespaces for this object.
| identifier | The identifier of the namespaces. |
| KString GetNameOnly | ( | ) | const |
Returns only the name (no namespace or prefix) of the object.
NULL terminated string.| KString GetNameSpacePrefix | ( | ) | const |
Returns the namespace qualifier.
| static KString RemovePrefix | ( | char * | pName | ) | [static] |
Removes the prefix of pName.
| pName | Whose prefix is removed. |
Strips the prefix of pName.
| lName | Whose prefix is stripped. |
| static KString StripPrefix | ( | const char * | pName | ) | [static] |
Strips the prefix of pName.
| pName | Whose prefix is stripped. |
| KFbxObjectID const& GetUniqueID | ( | ) | const |
Returns the unique ID of this object.
| virtual kFbxUpdateId GetUpdateId | ( | eFbxUpdateIdType | pUpdateId =
eUpdateId_Object |
) | const [virtual] |
Returns the update ID of this object.
| pUpdateId | The update ID type. |
Reimplemented in KFbxNode.
| int ContentUnload | ( | ) |
Unloads this object's content using the offload peripheral that is currently set in the document then flushes it from memory.
| int ContentLoad | ( | ) |
Loads this object's content using the offload peripheral that is currently set in the document.
| bool ContentIsLoaded | ( | ) | const |
Judges if this object's content is loaded.
True if this object's content is loaded,
false otherwise.| void ContentDecrementLockCount | ( | ) |
Decreases the content lock count of an object.
If the content lock count of an object is greater than 0, the content of the object is considered locked.
| void ContentIncrementLockCount | ( | ) |
Increases the content lock count of an object.
If the content lock count of an object is greater than 0, the content of the object is considered locked.
| bool ContentIsLocked | ( | ) | const |
Judges if this object's content is locked.
The content is considered locked if the content lock count is greater than 0
True if this object's content is locked,
false otherwise.| virtual void ContentClear | ( | ) | [protected, virtual] |
Clears this object's content from memory.
This method must be overridden in the derived classes.
| virtual KFbxPeripheral* GetPeripheral | ( | ) | [protected, virtual] |
Retrieves the peripheral of that object.
Reimplemented in KFbxDocument.
| virtual bool ContentWriteTo | ( | KFbxStream & | pStream | ) | const [virtual] |
Writes the content of the object to the given stream.
| pStream | The destination stream. |
True if the content is successfully processed by
the receiving stream, false otherwise.Reimplemented in KFbxGeometryBase, and KFbxPatch.
| virtual bool ContentReadFrom | ( | const KFbxStream & | pStream | ) | [virtual] |
Reads the content of the object from the given stream.
| pStream | The source stream. |
True if the object fills itself with the received
data from the stream successfully, false
otherwise.Reimplemented in KFbxGeometryBase, and KFbxPatch.
| virtual bool GetSelected | ( | ) | [virtual] |
Returns if this object is currently in a selected state.
True if this object is selected,
false otherwise.| virtual void SetSelected | ( | bool | pSelected | ) | [virtual] |
Sets whether this object is currently selected.
| pSelected | The selection flag. |
| virtual bool Evaluate | ( | KFbxProperty & | pProperty, | |
| KFbxEvaluationInfo const * | pEvaluationInfo | |||
| ) | [virtual] |
Evaluates the KFCurve value of the specified property at the specified time, and then sets the property value as the KFCurve value.
| pProperty | The specified property. | |
| pEvaluationInfo | Contains the time of evaluation. |
True on success, false
otherwise.Referenced by KFbxBindingOperator::Evaluate().
| KFbxProperty GetFirstProperty | ( | ) | const [inline] |
Returns the first property of this object.
Definition at line 440 of file kfbxobject.h.
| KFbxProperty GetNextProperty | ( | KFbxProperty const & | pProperty | ) | const [inline] |
Returns the next property of this object that follows the specified property.
| pProperty | The specified property. |
Definition at line 449 of file kfbxobject.h.
| KFbxProperty FindProperty | ( | const char * | pName, | |
| bool | pCaseSensitive =
true |
|||
| ) | const [inline] |
Searches a property by name.
| pName | The property name. | |
| pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 459 of file kfbxobject.h.
| KFbxProperty FindProperty | ( | const char * | pName, | |
| KFbxDataType const & | pDataType, | |||
| bool | pCaseSensitive =
true |
|||
| ) | const [inline] |
Searches a property by name and data type.
| pName | The property name. | |
| pDataType | The data type of the property. | |
| pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 470 of file kfbxobject.h.
| KFbxProperty FindPropertyHierarchical | ( | const char * | pName, | |
| bool | pCaseSensitive =
true |
|||
| ) | const [inline] |
Searches a property by full name.
| pName | The full name of the property as a NULL terminated
string. |
|
| pCaseSensitive | whether or not the name is case-sensitive. |
Definition at line 481 of file kfbxobject.h.
| KFbxProperty FindPropertyHierarchical | ( | const char * | pName, | |
| KFbxDataType const & | pDataType, | |||
| bool | pCaseSensitive =
true |
|||
| ) | const [inline] |
Searches a property by full name and data type.
| pName | The full name of the property as a NULL terminated
string. |
|
| pDataType | The data type of the property. | |
| pCaseSensitive | whether or not the name is case-sensitive. |
Definition at line 493 of file kfbxobject.h.
| KFbxProperty& GetRootProperty | ( | ) | [inline] |
Returns the root property of this object.
Definition at line 501 of file kfbxobject.h.
| const KFbxProperty& GetRootProperty | ( | ) | const [inline] |
Returns the root property of this object.
Definition at line 506 of file kfbxobject.h.
| KFbxProperty GetClassRootProperty | ( | ) |
Returns the class root property.
| bool ConnectSrcObject | ( | KFbxObject * | pObject, | |
| kFbxConnectionType | pType =
eFbxConnectionNone |
|||
| ) | [inline] |
Connects this object to a source object.
| pObject | The source object to which this object connects. | |
| pType | The connection type between this object and the source object. |
True on success, false
otherwise.Definition at line 539 of file kfbxobject.h.
Referenced by KFbxCollection::AddMember().
| bool IsConnectedSrcObject | ( | const KFbxObject * | pObject | ) | const [inline] |
Judges whether this object connects with the source object.
| pObject | The source object. |
True if this object connects with the source
object, false otherwise.Definition at line 545 of file kfbxobject.h.
| bool DisconnectSrcObject | ( | KFbxObject * | pObject | ) | [inline] |
Disconnects this object from a source object.
| pObject | The source object from which this object will be disconnected. |
True on success, false
otherwise.Definition at line 551 of file kfbxobject.h.
Referenced by KFbxCollection::RemoveMember().
| bool DisconnectAllSrcObject | ( | ) | [inline] |
Disconnects this object from all source objects.
True if it disconnects all source objects
successfully, false otherwise.Definition at line 556 of file kfbxobject.h.
| bool DisconnectAllSrcObject | ( | KFbxCriteria const & | pCriteria | ) | [inline] |
Disconnects this object from all source objects that satisfy a given criteria.
| pCriteria | The given criteria. |
True if it disconnects all the source objects
successfully, false otherwise.Definition at line 562 of file kfbxobject.h.
| bool DisconnectAllSrcObject | ( | kFbxClassId | pClassId | ) | [inline] |
Disconnects this object from all source objects of a specific class type.
| pClassId | The specific class type. |
True if it disconnects all source objects
successfully, false otherwise.Definition at line 568 of file kfbxobject.h.
| bool DisconnectAllSrcObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria | |||
| ) | [inline] |
Disconnects this object from all source objects that satisfy a given criteria and that are a specific class type.
| pClassId | The specific class type. | |
| pCriteria | The given criteria. |
True if it disconnects from all source objects
successfully, false otherwise.Definition at line 575 of file kfbxobject.h.
| int GetSrcObjectCount | ( | ) | const [inline] |
Returns the number of source objects with which this object connects.
Definition at line 580 of file kfbxobject.h.
Referenced by KFbxCollection::GetMemberCount().
| int GetSrcObjectCount | ( | KFbxCriteria const & | pCriteria | ) | const [inline] |
Returns the number of source objects that satisfy the given criteria with which this object connects.
| pCriteria | The given criteria. |
Definition at line 586 of file kfbxobject.h.
| int GetSrcObjectCount | ( | kFbxClassId | pClassId | ) | const [inline] |
Returns the number of source objects of the specific class type with which this object connects.
| pClassId | The specific class type. |
Definition at line 592 of file kfbxobject.h.
| int GetSrcObjectCount | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria | |||
| ) | const [inline] |
Returns the number of source objects that satisfy the given criteria and that are the specified class type.
| pClassId | The specified class type. | |
| pCriteria | The given criteria. |
Definition at line 599 of file kfbxobject.h.
| KFbxObject* GetSrcObject | ( | int | pIndex = 0 |
) | const [inline] |
Returns the source object with which this object connects at the specified index.
| pIndex | The specified index whose default value is 0. |
Definition at line 605 of file kfbxobject.h.
Referenced by KFbxCollection::GetMember().
| KFbxObject* GetSrcObject | ( | KFbxCriteria const & | pCriteria, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the source object that satisfies the criteria at the specified index with which this object connects.
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 612 of file kfbxobject.h.
| KFbxObject* GetSrcObject | ( | kFbxClassId | pClassId, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the source object of the specified class type at the specified index with which this object connects.
| pClassId | The specified class type. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 619 of file kfbxobject.h.
| KFbxObject* GetSrcObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria, | |||
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the source object of the specified class type that satisfies the given criteria at the specified index.
| pClassId | The specified class. | |
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 627 of file kfbxobject.h.
| KFbxObject* FindSrcObject | ( | const char * | pName, | |
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name, starting at the specified index.
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 634 of file kfbxobject.h.
Referenced by KFbxCollection::FindMember().
| KFbxObject* FindSrcObject | ( | KFbxCriteria const & | pCriteria, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name which satisfies the given criteria, starting at the specified index.
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 642 of file kfbxobject.h.
| KFbxObject* FindSrcObject | ( | kFbxClassId | pClassId, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name which is also the specified class type, starting at the specified index.
| pClassId | The specified class type. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 650 of file kfbxobject.h.
| KFbxObject* FindSrcObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria, | |||
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name which is the specified class type and satisfies the given criteria, starting at the specified index.
| pClassId | The specified class type. | |
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 659 of file kfbxobject.h.
| bool DisconnectAllSrcObject | ( | T const * | pFBX_TYPE | ) | [inline] |
Disconnects this object from all source objects of the specified class type.
| pFBX_TYPE | The specified class type. |
True if it disconnects all source objects
successfully, false otherwise.Definition at line 665 of file kfbxobject.h.
| bool DisconnectAllSrcObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria | |||
| ) | [inline] |
Disconnects this object from all source objects that are of the specified class type and that satisfy the given criteria.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. |
True if it disconnects all source objects
successfully, false otherwise.Definition at line 672 of file kfbxobject.h.
| int GetSrcObjectCount | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the number of source objects of a specific class type with which this object connects.
| pFBX_TYPE | The specified class type. |
Definition at line 678 of file kfbxobject.h.
| int GetSrcObjectCount | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria | |||
| ) | const [inline] |
Returns the number of source objects with which this object connects that are the specified class type and that satisfy the given criteria.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. |
Definition at line 685 of file kfbxobject.h.
| T* GetSrcObject | ( | T const * | pFBX_TYPE, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the source object of the specified class type at the specified index.
| pFBX_TYPE | The specified class type. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 692 of file kfbxobject.h.
| T* GetSrcObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria, | |||
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the source object that is the specified class type and that satisfies the given criteria at the specified index.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 700 of file kfbxobject.h.
| T* FindSrcObject | ( | T const * | pFBX_TYPE, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name that is the specified class type, starting at the specified index.
| pFBX_TYPE | The specified class type. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 708 of file kfbxobject.h.
| T* FindSrcObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria, | |||
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the source object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 717 of file kfbxobject.h.
| bool ConnectDstObject | ( | KFbxObject * | pObject, | |
| kFbxConnectionType | pType =
eFbxConnectionNone |
|||
| ) | [inline] |
Connects this object to one destination object.
| pObject | The destination object with which this object connects. | |
| pType | The connection type between this object and the destination object. |
True on success, false
otherwise.Definition at line 725 of file kfbxobject.h.
| bool IsConnectedDstObject | ( | const KFbxObject * | pObject | ) | const [inline] |
Judges whether this object connects with the destination object.
| pObject | The destination object. |
True if this object connects with the destination
object, false otherwise.Definition at line 731 of file kfbxobject.h.
| bool DisconnectDstObject | ( | KFbxObject * | pObject | ) | [inline] |
Disconnects this object from the destination object.
| pObject | The destination object from which this object disconnects. |
True on success, false
otherwise.Definition at line 737 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | ) | [inline] |
Disconnects this object from all destination objects.
True if it disconnects all destination objects
successfully, false otherwise.Definition at line 742 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | KFbxCriteria const & | pCriteria | ) | [inline] |
Disconnects this object from all destination objects that satisfy given criteria.
| pCriteria | The given criteria. |
True if it disconnects all destination objects
successfully, false otherwise.Definition at line 748 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | kFbxClassId | pClassId | ) | [inline] |
Disconnects this object from all destination objects of the specified class type.
| pClassId | The specified class type. |
True if it disconnects all destination objects of
the specified class type successfully, false
otherwise.Definition at line 754 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria | |||
| ) | [inline] |
Disconnects this object from all the destination objects that are the specified class type and that satisfy the given criteria.
| pClassId | The specified class type. | |
| pCriteria | The given criteria. |
True if it disconnects all the destination objects
successfully, false otherwise.Definition at line 761 of file kfbxobject.h.
| int GetDstObjectCount | ( | ) | const [inline] |
Returns the number of destination objects with which this object connects.
Definition at line 766 of file kfbxobject.h.
| int GetDstObjectCount | ( | KFbxCriteria const & | pCriteria | ) | const [inline] |
Returns the number of destination objects with which this object connects that satisfy the given criteria.
| pCriteria | The given criteria. |
Definition at line 772 of file kfbxobject.h.
| int GetDstObjectCount | ( | kFbxClassId | pClassId | ) | const [inline] |
Returns the number of destination objects of the specified class type with which this object connects.
| pClassId | The specified class type. |
Definition at line 778 of file kfbxobject.h.
| int GetDstObjectCount | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria | |||
| ) | const [inline] |
Returns the number of destination objects of the specified class type with which this object connects that also satisfy the given criteria .
| pClassId | The specified class type. | |
| pCriteria | The given criteria. |
Definition at line 785 of file kfbxobject.h.
| KFbxObject* GetDstObject | ( | int | pIndex = 0 |
) | const [inline] |
Returns the destination object at the specified index with which this object connects.
| pIndex | The specified index whose default value is 0. |
Definition at line 791 of file kfbxobject.h.
| KFbxObject* GetDstObject | ( | KFbxCriteria const & | pCriteria, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the destination object with which this object connects that satisfies the given criteria at the specified index.
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 798 of file kfbxobject.h.
| KFbxObject* GetDstObject | ( | kFbxClassId | pClassId, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the destination object of the specified class type with which this object connects at the specified index.
| pClassId | The specified class type. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 805 of file kfbxobject.h.
| KFbxObject* GetDstObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria, | |||
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the destination object with which this object connects that is of the specified class type and that satisfies the given criteria at the specified index.
| pClassId | The specified class type. | |
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 813 of file kfbxobject.h.
| KFbxObject* FindDstObject | ( | const char * | pName, | |
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name, starting at the specified index.
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 820 of file kfbxobject.h.
| KFbxObject* FindDstObject | ( | KFbxCriteria const & | pCriteria, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name which satisfies the given criteria, starting at the specified index.
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 828 of file kfbxobject.h.
| KFbxObject* FindDstObject | ( | kFbxClassId | pClassId, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name which is the specified class type, starting at the specified index.
| pClassId | The specified class type. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 836 of file kfbxobject.h.
| KFbxObject* FindDstObject | ( | kFbxClassId | pClassId, | |
| KFbxCriteria const & | pCriteria, | |||
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index.
| pClassId | The specified class type. | |
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 845 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | T const * | pFBX_TYPE | ) | [inline] |
Disconnects this object from all destination objects of the specified class type.
| pFBX_TYPE | The specified class type. |
True if it disconnects all destination objects of
the specified class type successfully, false
otherwise.Definition at line 851 of file kfbxobject.h.
| bool DisconnectAllDstObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria | |||
| ) | [inline] |
Disconnects this object from all destination objects that are the specified class type and that satisfy the given criteria.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. |
True if it disconnects all destination objects
successfully, false otherwise.Definition at line 858 of file kfbxobject.h.
| int GetDstObjectCount | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the number of destination objects of the specified class type with which this object connects.
| pFBX_TYPE | The specified class type. |
Definition at line 864 of file kfbxobject.h.
| int GetDstObjectCount | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria | |||
| ) | const [inline] |
Returns the number of destination objects with which this object connects that are the specified class type and that satisfy the given criteria.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. |
Definition at line 871 of file kfbxobject.h.
| T* GetDstObject | ( | T const * | pFBX_TYPE, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the destination object with which this object connects that is the specified class type at the specified index.
| pFBX_TYPE | The specified class type. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 878 of file kfbxobject.h.
| T* GetDstObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria, | |||
| int | pIndex = 0 |
|||
| ) | const [inline] |
Returns the destination object with which this object connects that is the specified class type and that satisfies the given criteria at the specified index.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. | |
| pIndex | The specified index whose default value is 0. |
Definition at line 886 of file kfbxobject.h.
| T* FindDstObject | ( | T const * | pFBX_TYPE, | |
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name which is of the specified class type, starting at the specified index.
| pFBX_TYPE | The specified class type. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 894 of file kfbxobject.h.
| T* FindDstObject | ( | T const * | pFBX_TYPE, | |
| KFbxCriteria const & | pCriteria, | |||
| const char * | pName, | |||
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index.
| pFBX_TYPE | The specified class type. | |
| pCriteria | The given criteria. | |
| pName | The object name. | |
| pStartIndex | The start index. |
Definition at line 903 of file kfbxobject.h.
| bool ConnectSrcProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Connects this object to a source property.
| pProperty | The source property with which this object connects. |
True on success, false
otherwise.Definition at line 915 of file kfbxobject.h.
| bool IsConnectedSrcProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Judges whether this object connects with the specified source property.
| pProperty | The specified source property. |
True if this object connects with the specified
source property, false otherwise.Definition at line 921 of file kfbxobject.h.
| bool DisconnectSrcProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Disconnects this object from the specified source property.
| pProperty | The specified source property. |
True on success, false
otherwise.Definition at line 927 of file kfbxobject.h.
| int GetSrcPropertyCount | ( | ) | const [inline] |
Returns the number of source properties with which this object connects.
Definition at line 932 of file kfbxobject.h.
| KFbxProperty GetSrcProperty | ( | int | pIndex = 0 |
) | const [inline] |
Returns the source property at the specified index with which this object connects.
| pIndex | The specified index. |
Definition at line 938 of file kfbxobject.h.
| KFbxProperty FindSrcProperty | ( | const char * | pName, | |
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches a source property with which this object connects that has a specific name, starting at the specified index.
| pName | The specified property name. | |
| pStartIndex | The start index. |
Definition at line 945 of file kfbxobject.h.
| bool ConnectDstProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Connects this object to a destination property.
| pProperty | The destination property with which this object connects. |
True on success, false
otherwise.Definition at line 951 of file kfbxobject.h.
| bool IsConnectedDstProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Judges if this object connects with the specified destination property.
| pProperty | The specified destination property. |
True if this object connects with the specified
destination property, false otherwise.Definition at line 957 of file kfbxobject.h.
| bool DisconnectDstProperty | ( | KFbxProperty const & | pProperty | ) | [inline] |
Disconnects this object from the specified destination property.
| pProperty | The specified destination property. |
True on success, false
otherwise.Definition at line 963 of file kfbxobject.h.
| int GetDstPropertyCount | ( | ) | const [inline] |
Returns the number of destination properties with which this object connects.
Definition at line 968 of file kfbxobject.h.
| KFbxProperty GetDstProperty | ( | int | pIndex = 0 |
) | const [inline] |
Returns the destination property at the specified index with which this object connects.
| pIndex | The specified index. |
Definition at line 974 of file kfbxobject.h.
| KFbxProperty FindDstProperty | ( | const char * | pName, | |
| int | pStartIndex = 0 |
|||
| ) | const [inline] |
Searches a destination property with which this object connects that has a specific name, starting at the specified index.
| pName | The specified property name. | |
| pStartIndex | The start index. |
Definition at line 981 of file kfbxobject.h.
| void SetUserDataPtr | ( | KFbxObjectID const & | pUserID, | |
| void * | pUserData | |||
| ) |
Sets the data pointer for an user data record whose ID is pUserID.
| pUserID | The ID of the user data record. | |
| pUserData | The data pointer of the user data record. |
| void* GetUserDataPtr | ( | KFbxObjectID const & | pUserID | ) | const |
Returns the data pointer of an user data record whose ID is pUserID.
| pUserID | The ID of the user data record. |
NULL if
the user data record is not found.| void SetUserDataPtr | ( | void * | pUserData | ) | [inline] |
Sets the data pointer for the user data record whose ID is the object ID.
| pUserData | The data pointer of the user data record. |
Definition at line 1008 of file kfbxobject.h.
| void* GetUserDataPtr | ( | ) | const [inline] |
Returns the data pointer of the user data record whose ID is the object ID.
NULL if
the user data record is not found.Definition at line 1013 of file kfbxobject.h.
| KFbxDocument* GetDocument | ( | ) | const |
Returns a const pointer to the document that contains this object.
NULL if the object does not belong to any
document.Referenced by KFbxDocument::IsARootDocument().
| KFbxDocument* GetRootDocument | ( | ) | const |
Returns a const pointer to the root document that contains this object.
NULL if the object does not belong to any
document.| KFbxScene* GetScene | ( | ) | const |
Returns a const pointer to the scene that contains this object.
NULL if the object does not belong to any scene.| void EmitMessage | ( | KFbxMessage * | pMessage | ) | const |
Emits a message in all available message emitters in the document or SDK manager.
| pMessage | The message to emit. |
| virtual const char* Localize | ( | const char * | pID, | |
| const char * | pDefault = NULL |
|||
| ) | const [virtual] |
Localization helper function, it calls the implementation of FBX SDK manager.
Sub-classes that manage their own localization could over-ride this function.
| pID | The identifier of the text to be localized. | |
| pDefault | The default text. Uses pID as the default text if pDefault is NULL. |
Reimplemented in KFbxLibrary.
| KFbxLibrary* GetParentLibrary | ( | void | ) | const |
Returns a handle on the parent library of this object.
NULL if the
parent library doesn't exist.Reimplemented in KFbxLibrary.
| bool AddImplementation | ( | KFbxImplementation * | pImplementation | ) |
Adds an implementation.
| pImplementation | The implementation to be added. |
True on success, false
otherwise.| bool RemoveImplementation | ( | KFbxImplementation * | pImplementation | ) |
Removes an implementation.
| pImplementation | The implementation to be removed. |
True on success, false
otherwise.| bool HasDefaultImplementation | ( | void | ) | const |
Judges if this shading node has a default implementation.
True if this shading node has a default
implementation, false otherwise.| KFbxImplementation* GetDefaultImplementation | ( | void | ) | const |
Returns the default implementation of this shading node.
| bool SetDefaultImplementation | ( | KFbxImplementation * | pImplementation | ) |
Sets the default implementation of this shading node.
| pImplementation | The implementation to be set. |
True on success, false
otherwise.| int GetImplementationCount | ( | const KFbxImplementationFilter * | pCriteria = NULL |
) | const |
Returns the number of implementations that satisfy a given criteria.
| pCriteria | The given criteria. |
| KFbxImplementation* GetImplementation | ( | int | pIndex, | |
| const KFbxImplementationFilter * | pCriteria = NULL |
|||
| ) | const |
Returns the implementation at the specified index that satisfies the given criteria.
| pIndex | The specified index. | |
| pCriteria | The given criteria. |
| virtual KString GetUrl | ( | ) | const [virtual] |
Returns the URL of this object.
| virtual bool SetUrl | ( | char * | pUrl | ) | [virtual] |
Sets the URL of this object.
| pUrl | The URL to be set. |
True on success, false
otherwise.| virtual bool PopulateLoadSettings | ( | KFbxObject * | pSettings, | |
| char * | pFileName = 0 |
|||
| ) | [virtual] |
Populates the load settings.
| pSettings | The load settings. | |
| pFileName | The name of the file corresponding this object. |
| virtual bool Load | ( | char * | pFileName = 0 |
) | [virtual] |
Loads the object from a file.
| pFileName | The file from which this object is loaded. |
True on success, false
otherwise.| virtual bool PopulateSaveSettings | ( | KFbxObject * | pSettings, | |
| char * | pFileName = 0 |
|||
| ) | [virtual] |
Populates the save settings.
| pSettings | The save settings. | |
| pFileName | The name of the file. |
| virtual bool Save | ( | char * | pFileName = 0 |
) | [virtual] |
Saves this object in a file.
| pFileName | The name of the file in which this object is saved. |
True on success, false
otherwise.